package homework.fileio;

import java.io.File;

public class FileTest2 {
  public static void main(String[] args){
	  
	  File file=new File("file\\a.txt");
	 
	  if(!file.exists()){
		  file.mkdirs();
	  }
	  else{
		  file.delete();
	  }
	  System.out.println(file.isDirectory());
  }
}
